<style>
    .table_cls{
        font-size:12px;
    }
    .table_cls a{
     color:#0099FF;
     text-decoration: none;
    }
    .table_cls_td{
        width:100px;
    }
    .table_cls_first{
        width:300px;
    }
</style>
<?php
$total  = 0;
foreach ($rs as $k => $v):
    $total  = $total + $v->getClick();
endforeach;
?>
<table class="table_cls">
    <tr>
        <td class="table_cls_first">省/市</td>
        <td class="table_cls_td">总量</td>
        <td class="table_cls_td">比例</td>
    </tr>
<?php foreach ($rs as $k => $v):?>
<tr>
        <td class="table_cls_first"><?php echo $v->getName();?></td>
        <td class="table_cls_td"><?php echo $v->getClick();?></td>
        <td  class="table_cls_td"><?php echo round($v->getClick()*100/$total, 2);?>%</td>
</tr>
<?php endforeach;?>
</table>